package com.ruoyi.common.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author: zhangzhe
 * @Date: 2023/9/15
 */
@Data
@ApiModel("获取任务问题列表请求模型")
public class GetTaskIssueReq {
    @ApiModelProperty("问题id")
    private Long id;

    @ApiModelProperty("任务id")
    private Long taskId;

    @ApiModelProperty("计划id")
    private Long planId;

    @ApiModelProperty("问题")
    private String issue;

    @ApiModelProperty("问题类型id")
    private String issueTypeId;

    @ApiModelProperty("严重程度 1:一级 2:二级 :三级")
    private Integer severity;

    @ApiModelProperty("审核状态 0:待审核  1:审核通过 2:审核拒绝")
    private Integer auditStatus;

    @NotNull(message = "页码不能为空")
    @ApiModelProperty(value = "第几页", required = true)
    private Integer pageNum;

    @NotNull(message = "页数不能为空")
    @ApiModelProperty(value = "每页显示数量", required = true)
    private Integer pageSize;
}
